package cn.tedu.lonnghospital.appointment.mapper;

import cn.tedu.lonnghospital.appointment.pojo.vo.AppointmentListItemVO;
import cn.tedu.lonnghospital.appointment.pojo.entity.Appointment;
import cn.tedu.lonnghospital.appointment.pojo.vo.AppointmentStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AppointmentMapper extends BaseMapper<Appointment> {
    List<AppointmentListItemVO> listByPatientId(long patientId);
    List<AppointmentListItemVO> listByDoctorId(long doctorId);
    AppointmentStandardVO getStandard(long id);
}
